import { axios } from '@/utils/request'

// 获取指定过滤条件下设备列表
export function getAreaEquList(data) {
  return axios({
    url: '/paishui/equipment/list',
    method: 'get',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'
    },
    data
  })
}

// 报表-设备-曲线图-液位高渡
export function getpipCurve(data) {
  return axios({
    url: `/paishui/dataRep/equ/info/${data.equNo}`,
    method: 'get',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'
    },
    data
  })
}

// 报表-设备-曲线图-投入式液位计
export function getpipEquipTrCurve(data) {
  return axios({
    url: `/paishui/dataRep/lqtr/info/${data.equNo}`,
    method: 'get',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'
    },
    data
  })
}
